//
//  Startup.m
//  MyApplication
//
//  Created by issac on 15/7/30.
//  Copyright (c) 2015年 52xiaoluo. All rights reserved.
//

#import "Startup.h"

#import "HBLogic.h"
#import "BaseLogic.h"
#import "ViewRoomLogic.h"
#import "MsgLogic.h"

@implementation Startup
static Startup* _instance = nil;

+(instancetype) shareInstance
{
    static dispatch_once_t onceToken ;
    dispatch_once(&onceToken, ^{
        _instance = [[Startup alloc] init] ;
    });
    
    return _instance ;
}

-(void) start {
    initSeq();
    [HBLogic shareInstance];
    [MsgLogic shareInstance];
    [ViewRoomLogic shareInstance];
    //user 放在用户相关模块最后
    [UserLogic shareInstance];

}

@end
